package com.balabala.gym_goods.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_spu_attribute_value")
public class SpuAttributeValue implements Serializable {

    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    //商品id
    private Long spuId;

    //属性id
    private Long attributeId;

    //属性名称
    private String attributeName;

    //属性值
    private String attributeValue;

    //规格图片
    private String picUrl;

    //创建时间
    @TableField("create_time")
    private Date createTime;

    //更新时间
    @TableField("update_time")
    private Date updateTime;

}
